home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
lib
/
float
/
dpa_abs.a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-02-01
|
343 b
|
24 lines
; DABS.A
;
; D0/D1 = fabs(D0/D1)
; 4(sp)
;
; (c)Copyright 1990, Matthew Dillon, All Rights Reserved
section text,code
xref _MathIeeeDoubBasBase
xref _LVOIEEEDPAbs
xdef _fabs
_fabs movem.l 4(sp),D0/D1
move.l A6,-(sp)
move.l _MathIeeeDoubBasBase(A4),A6
jsr _LVOIEEEDPAbs(A6)
move.l (sp)+,A6
rts
END